package com.demo.guice;

import com.google.inject.AbstractModule;
import com.google.inject.Binder;
import com.google.inject.Module;

/**
 * @author xuyouchang@supcon.com
 * @date 2020/6/9.
 */
public class DogModule implements Module {

    @Override
    public void configure(Binder binder) {
        binder.bind(DogService.class).to(BlackDog.class);
//        binder.bind(DogService.class).toInstance(new BlackDog());
    }
}
